/*
 * TXMLSerializer.h
 *
 *  Created on: 2012-10-30
 *      Author: tutu
 */

#ifndef TXMLSERIALIZER_H_
#define TXMLSERIALIZER_H_

#include <QDomElement>
#include "../model/TUser.h"
#include "../model/TRole.h"
#include "../model/TDocument.h"

class TXMLSerializer
{
public:
	static TUserPointer unserializeUser(QDomElement element);

	static TRolePointer unserializeRole(QDomElement element);

	static TDocumentPointer unserializeDocument(QDomElement element);
};

#endif /* TXMLSERIALIZER_H_ */
